cmake_minimum_required(VERSION 3.16)
project(pvm C)

set(CMAKE_C_STANDARD 11)

include_directories(include)
include_directories(utils)
include_directories(runtime)
add_executable(pvm
        include/Code.h
        include/Float.h
        include/Integer.h
        include/List.h
        include/Str.h
        include/Dict.h
        include/Object.h
        include/Type.h
        include/OpCode.h
        include/GlobalVar.h 
        include/Function.h
        objects/Code.c
        objects/Float.c
        objects/Integer.c
        objects/List.c
        objects/Str.c
        objects/Dict.c
        objects/Object.c
        objects/GlobalVar.c
        objects/Function.c
        utils/FileLoader.c
        utils/FileLoader.h
        utils/FileReader.c
        utils/FileReader.h
        runtime/Block.h
        runtime/Block.c
        runtime/Frame.h
        runtime/Frame.c
        runtime/Interpreter.h
        runtime/Interpreter.c
        main.c include/Module.h objects/Module.c objects/Type.c)
